import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Takeingcar from '@/components/TakeCar'
import Home from '@/components/Home'
import Login from '@/components/Login'
import Sign from '@/components/Sign'
Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/TakeCar',
      name: 'TakeCar',
      component: Takeingcar
    },
    {
      path: '/home',
      name: 'Home',
      component: Home
    },
    {
      path: '/Login',
      name: 'Login',
      component: Login
    },
    {
      path: '/Sign',
      name: 'Sign',
      component: Sign
    }
  ]
})
